import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

export default defineConfig({
	plugins: [react()],
	server: {
		open: "/demo/index.html",
	},
	build: {
		rollupOptions: {
			input: {
				main: "demo/index.html",
			},
		},
	},
	resolve: {
		alias: {
			"@": "/src",
		},
	},
	css: {
		preprocessorOptions: {
			scss: {
				additionalData: ``,
			},
		},
	},
});
